package com.ruoyi.financial.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 非实物登记对象 f_enter_xuni
 * 
 * @author xunzhe
 * @date 2024-10-29
 */
public class FEnterXuni extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long xuniId;

    /**  */
    private Long deptId;

    /**  */
    private Long postId;

    /**  */
    private Long thingTypeId;

    @Excel(name = "机构名称")
    private String deptName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String createName;

    /** 收支项目 */
    @Excel(name = "收支项目")
    private String thingType;

    /** 发票号 */
    @Excel(name = "发票号")
    private String lnvoiceNumber;

    /** 发票总金额 */
    @Excel(name = "发票总金额")
    private String zonge;

    /** 销售单位名称 */
    @Excel(name = "销售单位名称")
    private String saleName;

    /** 支出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支出时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enterTime;

    public void setXuniId(Long xuniId) 
    {
        this.xuniId = xuniId;
    }

    public Long getXuniId() 
    {
        return xuniId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setThingTypeId(Long thingTypeId) 
    {
        this.thingTypeId = thingTypeId;
    }

    public Long getThingTypeId() 
    {
        return thingTypeId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setThingType(String thingType) 
    {
        this.thingType = thingType;
    }

    public String getThingType() 
    {
        return thingType;
    }
    public void setEnterTime(Date enterTime) 
    {
        this.enterTime = enterTime;
    }

    public Date getEnterTime() 
    {
        return enterTime;
    }
    public void setLnvoiceNumber(String lnvoiceNumber) 
    {
        this.lnvoiceNumber = lnvoiceNumber;
    }

    public String getLnvoiceNumber() 
    {
        return lnvoiceNumber;
    }
    public void setZonge(String zonge) 
    {
        this.zonge = zonge;
    }

    public String getZonge() 
    {
        return zonge;
    }
    public void setSaleName(String saleName) 
    {
        this.saleName = saleName;
    }

    public String getSaleName() 
    {
        return saleName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("xuniId", getXuniId())
            .append("deptId", getDeptId())
            .append("postId", getPostId())
            .append("thingTypeId", getThingTypeId())
            .append("createName", getCreateName())
            .append("thingType", getThingType())
            .append("enterTime", getEnterTime())
            .append("lnvoiceNumber", getLnvoiceNumber())
            .append("zonge", getZonge())
            .append("saleName", getSaleName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
